% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helpers.R
\name{pw_delta}
\alias{pw_delta}
\title{Calculates prognosis-weighted delta}
\usage{
pw_delta(
  data,
  covariates,
  treatment,
  outcome,
  standardize = TRUE,
  DIM,
  simulation = FALSE
)
}
\arguments{
\item{data}{data.frame containing covariates, treatment assignment, and outcome variable}

\item{covariates}{character vector of covariate names}

\item{treatment}{name of variable indicating (binary) treatment assigned}

\item{outcome}{name of outcome variable}

\item{standardize}{whether to standardize data inside function}

\item{DIM}{difference in covariate means across treatment and control from \code{uw_delta()}}

\item{simulation}{logical. Whether running the function on bootstrap sample}
}
\description{
Calculates prognosis-weighted delta
}
